<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>logout</title>
</head>
<body>
<%
    session.invalidate() ;// 让session失效
    response.sendRedirect("login.jsp");
%>
</body>
</html>